//					FR Family SOFTUNE cpcom V65L08
	.program	"menu"
	.library	"lib911.lib"
	.library	"lib911smathfpu.lib"
#macro	__word_noalign	arg1
	.byte ((arg1)>>24)&0xFF,((arg1)>>16)&0xFF,((arg1)>>8)&0xFF,(arg1)&0xFF
#endm
#macro	__half_noalign	arg1
	.byte ((arg1)>>8)&0xFF,(arg1)&0xFF
#endm
	._LANGUAGE	C_FR20, N, U, F
	._FILE	"E:\AndyProject\MT750\MB91590Wsp_CloneLIB_MT750\MB91590Prj\CODE\APP\Menu\menu.c", 0
	._FILE	"CODE\GDC\font\Font_config.h", 1
	._FILE	"E:\AndyProject\MT750\MB91590Wsp_CloneLIB_MT750\MB91590Prj\CODE\APP\Menu\MenuFSM.h", 2
	._FILE	"E:\AndyProject\MT750\MB91590Wsp_CloneLIB_MT750\MB91590Prj\CODE\APP\Menu\Menu.h", 3
	._FILE	"CODE\APP\KEY\Key.h", 4
	._FILE	"CODE\APP\Fun\HMI.h", 5
	._FILE	"CODE\GDC\display\DisplayGUI.h", 6
	._FILE	"C:\Softune6\LIB\911\INCLUDE\stdarg.h", 7
	._FILE	"C:\Softune6\LIB\911\INCLUDE\stdio.h", 8
	._FILE	"CODE\GDC\sprite\project_conf.h", 9
	._FILE	"C:\Softune6\LIB\911\INCLUDE\stddef.h", 10
	._FILE	"C:\Softune6\LIB\911\INCLUDE\string.h", 11
	._FILE	"CODE\type.h", 12
	._BTYPE	0x80000001, 1
	._BTYPE	0x80000002, 1
	._BTYPE	0x80000003, 2
	._BTYPE	0x80000004, 2
	._BTYPE	0x80000005, 4
	._BTYPE	0x80000006, 4
	._BTYPE	0x80000007, 4
	._BTYPE	0x80000008, 4
	._BTYPE	0x80000009, 1
	._BTYPE	0x8000000a, 2
	._BTYPE	0x8000000b, 4
	._BTYPE	0x8000000c, 8
	._BTYPE	0x8000000d, 8
	._BTYPE	0x8000000e, 1
	._BTYPE	0x8000000f, 0
	._BTYPE	0x80000010, 8
	._BTYPE	0x80000011, 8
	._MEMBER	S, 0x19, 8, S
	._SYMBOL	"KeyValue", M, 0x1b, S, 0, 4
	._SYMBOL	"Status", M, 0x1d, S, 4, 4
	._MEMBER	E
	._MEMBER	S, 0x1e, 24, S
	._SYMBOL	"pattern_address", M, 0x80000008, S, 0, 4
	._SYMBOL	"font_XD", M, 0x80000006, S, 4, 4
	._SYMBOL	"font_YD", M, 0x80000006, S, 8, 4
	._SYMBOL	"pos_DX", M, 0x80000005, S, 12, 4
	._SYMBOL	"pos_DY", M, 0x80000005, S, 16, 4
	._SYMBOL	"Vram_offset", M, 0x80000008, S, 20, 4
	._MEMBER	E
	._MEMBER	S, 0x1b, 4, E
	._SYMBOL	"Key_NULL", E, 0x80000005, 0
	._SYMBOL	"Key_Switch", E, 0x80000005, 1
	._SYMBOL	"Key_Set", E, 0x80000005, 2
	._SYMBOL	"Key_Mode", E, 0x80000005, 3
	._SYMBOL	"Key_Left", E, 0x80000005, 4
	._SYMBOL	"Key_Right", E, 0x80000005, 5
	._SYMBOL	"Key_Alone", E, 0x80000005, 6
	._MEMBER	E
	._SYMBOL	"__Hardkey_value", G, 0x1b, E
	._SYMBOL	"HardKey_value", Y, 0x1b
	._MEMBER	S, 0x1d, 4, E
	._SYMBOL	"Key_idle", E, 0x80000005, 0
	._SYMBOL	"Key_pressed", E, 0x80000005, 1
	._SYMBOL	"Key_middlePressed", E, 0x80000005, 2
	._SYMBOL	"Key_middleRelease", E, 0x80000005, 3
	._SYMBOL	"Key_longPressed", E, 0x80000005, 4
	._SYMBOL	"Key_longRelease", E, 0x80000005, 5
	._SYMBOL	"Key_longPressed_20s", E, 0x80000005, 6
	._MEMBER	E
	._SYMBOL	"__key_Status", G, 0x1d, E
	._SYMBOL	"keyStatus", Y, 0x1d
	._SYMBOL	"", G, 0x19, S
	._SYMBOL	"KEY_Attr", Y, 0x19
	._SYMBOL	"Font_config", G, 0x1e, S
	._SYMBOL	"Font_config_t", Y, 0x1e
	.global	__ptr_file
	.global	_BootCounter
	.global	_DispFaultMsgFlag
	.global	_Disp_HW_FuelValue
	.global	_HMI_Time
	.global	_FunUIStatus
	.global	_UDS_Config
	.global	_Menu_Param
	.global	_Menu_ParamCopy
	.global	_HMI_Msg
	.global	_TwinkleCycle
	.global	_Cur_Page
	.global	_ServiceCycleFlag
	.global	_ServiceCycleVaule
	.global	_KeyTab
	.global	_Fault_AutoMsgId
	.global	_HMI_MenuUpdataInTimerFlag
	.global	_IconPageID
	.global	_MenuSetFlag
	.global	_Menu_Number_Buffer
	.global	_ComputerFastDispFlag
	.section	DATA, DATA, align=4
	.global	_KeyFuncPtr
	.align	4
_KeyFuncPtr:
	.res.b	4
	.global	_DispItem
_DispItem:
	.res.b	4
	.global	_DispMin
	.align	1
_DispMin:
	.res.b	1
	.global	_Where
_Where:
	.res.b	1
	.global	_ItemSelectBuffer
_ItemSelectBuffer:
	.res.b	32
	.global	_ItemSelect
_ItemSelect:
	.res.b	1
	.global	_ItemNum
_ItemNum:
	.res.b	1
	.global	_Item
_Item:
	.res.b	1
	.global	_WhereBackup
_WhereBackup:
	.res.b	5
	.global	_ItemBackup
_ItemBackup:
	.res.b	5
	.global	_FatherIndex
_FatherIndex:
	.res.b	6
	.section	INIT, DATA, align=4
	.global	_MenuDotStatus
	.align	2
_MenuDotStatus:
	.half	0
	.global	_DotDisplay
	.align	1
_DotDisplay:
	.byte	0
	.global	_BmpMenuFlag
_BmpMenuFlag:
	.byte	1
	.global	_BarEnterFlag
_BarEnterFlag:
	.byte	0
	.global	_Menu_BackToFlag
_Menu_BackToFlag:
	.byte	0
	.global	_KeyFuncIndex
_KeyFuncIndex:
	.byte	0
	.global	_WhereBackup_i
_WhereBackup_i:
	.byte	0
	.global	_ItemBackup_i
_ItemBackup_i:
	.byte	0
	.global	_Layer
_Layer:
	.byte	0
	.global	_Menu_ReFlash
_Menu_ReFlash:
	.byte	0
	.global	_Flash
_Flash:
	.byte	0
	.global	_gBarYoffset
_gBarYoffset:
	.byte	10
	.global	_gBarXoffset
_gBarXoffset:
	.byte	32
	.global	_gBarYsize
_gBarYsize:
	.byte	26
	.section	CONST, CONST, align=4
	.align	4
_Font_SongName_config:
	.word	50855936
	.word	24
	.word	24
	.word	83
	.word	240
	.word	816720
_Font_F_config:
	.word	50855936
	.word	24
	.word	24
	.word	83
	.word	177
	.word	813720
_Font_E_config:
	.word	50855936
	.word	24
	.word	24
	.word	83
	.word	177
	.word	810720
_Font_D_config:
	.word	50855936
	.word	24
	.word	24
	.word	83
	.word	177
	.word	807720
_Font_C_config:
	.word	50855936
	.word	24
	.word	24
	.word	83
	.word	149
	.word	804720
_Font_B_config:
	.word	50855936
	.word	24
	.word	24
	.word	83
	.word	121
	.word	801720
_Font_A_config:
	.word	50855936
	.word	24
	.word	24
	.word	83
	.word	90
	.word	798720
_g_rsPalette_Palette2_Data:
	.word	-37473
_g_rsPalette_Palette1_Data:
	.word	-65536
	.global	_UnDisplay_ArrowDown
	.global	_Display_ArrowDown
	.global	_UnDisplay_ArrowUp
	.global	_Display_ArrowUp
	.global	_UnDisplay_Dot4
	.global	_Display_Dot4_Pos
	.global	_UnDisplay_Dot3
	.global	_Display_Dot3_Pos
	.global	_UnDisplay_Dot2
	.global	_Display_Dot2_Pos
	.global	_UnDisplay_Dot1
	.global	_Display_Dot1_Pos
	.global	_UnDisplay_Dot0
	.global	_Display_Dot0_Pos
	.global	_Display_BlockPic_AnyPos
	.global	_Display_MenuFont_Line5
	.global	_Display_MenuFont_Line4
	.global	_Display_MenuFont_Line3
	.global	_Display_MenuFont_Line2
	.global	_Display_MenuFont_Line1
	.global	_Display_MenuFont_Title
	.section	CODE, CODE, align=2
	.global	_Menu_ItemSelectDisp
	._SYMBOL	"Menu_ItemSelectDisp", F, 0x8000000f, E, "_Menu_ItemSelectDisp", F
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 93
_Menu_ItemSelectDisp:
L_20:
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 16
	._CONFIG	S, B
L_22:				// Pred: L_20
	._CONFIG	E
	._LINE	0, 110
	LEAVE
	LD	@SP+,RP
	RET
	._CONFIG	E
	.global	_Menu_ItemSelect
	._SYMBOL	"Menu_ItemSelect", F, 0x8000000f, E, "_Menu_ItemSelect", F
	._FPARAM	S, 2, F
	._SYMBOL	"pos", P, 0x80000002, A, 11
	._SYMBOL	"mode", P, 0x80000002, A, 15
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 113
_Menu_ItemSelect:
L_23:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 40
	._CONFIG	S, B
L_24:				// Pred: L_23
	._LINE	0, 117
	LDUB	@(FP,15),R0	; _mode
	LDI	#240,R1
	CMP	R1,R0
	BNE32	L_26,R12
L_25:				// Pred: L_24
	._LINE	0, 118
	._LINE	0, 119
	CALL21	_Display_ArrowUp
	._LINE	0, 120
	CALL21	_UnDisplay_ArrowDown
	._LINE	0, 121
	CALL21	_Menu_ItemSelectDisp
	._LINE	0, 122
	BRA32	L_34,R12
L_26:				// Pred: L_24
	._LINE	0, 123
	LDUB	@(FP,15),R0	; _mode
	LDI	#241,R1
	CMP	R1,R0
	BNE32	L_29,R12
L_28:				// Pred: L_26
	._LINE	0, 124
	._LINE	0, 125
	CALL21	_UnDisplay_ArrowUp
	._LINE	0, 126
	CALL21	_Display_ArrowDown
	._LINE	0, 127
	CALL21	_Menu_ItemSelectDisp
	._LINE	0, 128
	BRA32	L_34,R12
L_29:				// Pred: L_26
	._LINE	0, 129
	LDUB	@(FP,15),R1	; _mode
	LDI	#242,R0
	CMP	R0,R1
	BNE32	L_34,R12
L_31:				// Pred: L_29
	._LINE	0, 130
	._LINE	0, 131
	CALL21	_Display_ArrowUp
	._LINE	0, 132
	CALL21	_Display_ArrowDown
	._LINE	0, 133
L_34:				// Pred: L_31 L_29 L_28 L_25
	._LINE	0, 136
	._CONFIG	E
	._LINE	0, 138
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_MenuDotSelect
	._SYMBOL	"MenuDotSelect", F, 0x8000000f, E, "_MenuDotSelect", F
	._FPARAM	S, 1, F
	._SYMBOL	"num", P, 0x80000002, A, 11
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 140
_MenuDotSelect:
L_35:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 40
	._CONFIG	S, B
L_36:				// Pred: L_35
	._LINE	0, 142
	LDI:32	#_MenuDotStatus,R0
	LDUH	@R0,R2	; _MenuDotStatus
	LDUB	@(FP,11),R0	; _num
	LDI	#1,R1
	LSL	R0,R1
	AND	R1,R2
	CMP	#0,R2
	BLE32	L_38,R12
L_37:				// Pred: L_36
	._LINE	0, 143
	LDI:32	#_DotDisplay,R0
	LDI	#1,R1
	STB	R1,@R0	; _DotDisplay
	BRA32	L_40,R12
L_38:				// Pred: L_36
	._LINE	0, 145
	LDI:32	#_DotDisplay,R0
	LDI	#0,R1
;-------volatile_access
	STB	R1,@R0	; _DotDisplay
L_40:				// Pred: L_38 L_37
	._LINE	0, 145
	._CONFIG	E
	._LINE	0, 146
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_BarMenuArrowInit
	._SYMBOL	"BarMenuArrowInit", F, 0x8000000f, E, "_BarMenuArrowInit", F
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 148
_BarMenuArrowInit:
L_41:
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 16
	._CONFIG	S, B
L_42:				// Pred: L_41
	._LINE	0, 150
	LDI:32	#_ItemNum,R0
	LDUB	@R0,R0	; _ItemNum
	CMP	#5,R0
	BLE32	L_45,R12
L_43:				// Pred: L_42
	._LINE	0, 151
	._LINE	0, 152
	LDI	#0,R4
	LDI	#241,R5
	CALL21	_Menu_ItemSelect
	._LINE	0, 153
L_45:				// Pred: L_43 L_42
	._LINE	0, 153
	._CONFIG	E
	._LINE	0, 154
	LEAVE
	LD	@SP+,RP
	RET
	._CONFIG	E
	.global	_BarMenuArrowUp
	._SYMBOL	"BarMenuArrowUp", F, 0x8000000f, E, "_BarMenuArrowUp", F
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 156
_BarMenuArrowUp:
L_46:
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 16
	._CONFIG	S, B
L_47:				// Pred: L_46
	._LINE	0, 158
	LDI:32	#_ItemNum,R0
	LDUB	@R0,R0	; _ItemNum
	CMP	#5,R0
	BLE32	L_53,R12
L_48:				// Pred: L_47
	._LINE	0, 159
	._LINE	0, 160
	LDI:32	#_Item,R0
	LDUB	@R0,R0	; _Item
	CMP	#5,R0
	BGE32	L_51,R12
L_50:				// Pred: L_48
	._LINE	0, 161
	._LINE	0, 162
	LDI	#0,R4
	LDI	#241,R5
	CALL21	_Menu_ItemSelect
	._LINE	0, 163
	CALL21	_UnDisplay_ArrowUp
	._LINE	0, 164
	BRA32	L_53,R12
L_51:				// Pred: L_48
	._LINE	0, 166
	._LINE	0, 167
	LDI	#0,R4
	LDI	#240,R5
	CALL21	_Menu_ItemSelect
	._LINE	0, 168
	CALL21	_UnDisplay_ArrowDown
	._LINE	0, 169
L_53:				// Pred: L_51 L_50 L_47
	._LINE	0, 170
	._CONFIG	E
	._LINE	0, 171
	LEAVE
	LD	@SP+,RP
	RET
	._CONFIG	E
	.global	_BarMenuArrowDown
	._SYMBOL	"BarMenuArrowDown", F, 0x8000000f, E, "_BarMenuArrowDown", F
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 173
_BarMenuArrowDown:
L_54:
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 16
	._CONFIG	S, B
L_55:				// Pred: L_54
	._LINE	0, 175
	LDI:32	#_ItemNum,R1
	LDUB	@R1,R0	; _ItemNum
	CMP	#5,R0
	BLE32	L_61,R12
L_56:				// Pred: L_55
	._LINE	0, 176
	._LINE	0, 177
	LDI:32	#_Item,R0
	LDUB	@R0,R2	; _Item
	LDUB	@R1,R0	; _ItemNum
	ADDN	#-1,R0
	CMP	R0,R2
	BLT32	L_59,R12
L_58:				// Pred: L_56
	._LINE	0, 178
	._LINE	0, 179
	LDI	#0,R4
	LDI	#240,R5
	CALL21	_Menu_ItemSelect
	._LINE	0, 180
	CALL21	_UnDisplay_ArrowDown
	._LINE	0, 181
	BRA32	L_61,R12
L_59:				// Pred: L_56
	._LINE	0, 183
	._LINE	0, 184
	LDI	#0,R4
	LDI	#241,R5
	CALL21	_Menu_ItemSelect
	._LINE	0, 185
	CALL21	_UnDisplay_ArrowUp
	._LINE	0, 186
L_61:				// Pred: L_59 L_58 L_55
	._LINE	0, 187
	._CONFIG	E
	._LINE	0, 188
	LEAVE
	LD	@SP+,RP
	RET
	._CONFIG	E
	.global	_Menu_PageInit
	._SYMBOL	"Menu_PageInit", F, 0x8000000f, E, "_Menu_PageInit", F
	._FPARAM	S, 1, F
	._SYMBOL	"mode", P, 0x80000002, A, 11
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 192
_Menu_PageInit:
L_62:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 40
	._CONFIG	S, B
L_63:				// Pred: L_62
	._LINE	0, 214
	LDUB	@(FP,11),R0	; _mode
	CMP	#2,R0
	BNE32	L_65,R12
L_64:				// Pred: L_63
	._LINE	0, 215
	LDI:32	#_BmpMenuFlag,R0
	LDI	#2,R1
	STB	R1,@R0	; _BmpMenuFlag
	BRA32	L_66,R12
L_65:				// Pred: L_63
	._LINE	0, 217
	LDI:32	#_BmpMenuFlag,R0
	LDI	#1,R1
;-------volatile_access
	STB	R1,@R0	; _BmpMenuFlag
L_66:				// Pred: L_65 L_64
	._LINE	0, 218
	LDI:32	#_MenuDotStatus,R1
	LDI	#0,R0
	STH	R0,@R1	; _MenuDotStatus
L_67:				// Pred: L_66
	._LINE	0, 218
	._CONFIG	E
	._LINE	0, 219
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_MenuTitleDisp
	._SYMBOL	"MenuTitleDisp", F, 0x8000000f, E, "_MenuTitleDisp", F
	._FPARAM	S, 1, F
	._SYMBOL	"s", P, 0x80000002, A, 8
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 221
_MenuTitleDisp:
L_68:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 40
	._CONFIG	S, B
L_69:				// Pred: L_68
	._LINE	0, 223
	LD	@(FP,8),R4	; _s
	LDI	#2,R5
	LDI	#120,R6
	LDI	#70,R7
	CALL21	_Display_MenuFont_Title
L_70:				// Pred: L_69
	._LINE	0, 223
	._CONFIG	E
	._LINE	0, 224
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_BarDisp
	._SYMBOL	"BarDisp", F, 0x8000000f, E, "_BarDisp", F
	._FPARAM	S, 7, F
	._SYMBOL	"s", P, 0x80000002, A, 8
	._POINTER	1
	._SYMBOL	"X", P, 0x80000004, A, 14
	._SYMBOL	"Y", P, 0x80000004, A, 18
	._SYMBOL	"HighLight", P, 0x80000002, A, 23
	._SYMBOL	"num", P, 0x80000002, A, 27
	._SYMBOL	"total", P, 0x80000002, A, 31
	._SYMBOL	"MenuDot", P, 0x80000002, A, 35
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 239
_BarDisp:
L_71:
	STM	(R4,R5,R6,R7)
	ST	RP,@-SP
	ENTER	#12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"tempx", V, 0x80000004, A, -6
	._SYMBOL	"tempy", V, 0x80000004, A, -4
	._SYMBOL	"tempOfsset", V, 0x80000002, A, -1
L_72:				// Pred: L_71
	._LINE	0, 245
	._LINE	0, 247
	LDI	#2,R0
	STB	R0,@(FP,-1)	; _tempOfsset
	._LINE	0, 249
	LDUH	@(FP,14),R0	; _X
	STH	R0,@(FP,-6)	; _tempx
	._LINE	0, 250
	LDUH	@(FP,18),R1	; _Y
	LDI	#90,R0
	ADDN	R0,R1
	EXTUH	R1
	STH	R1,@(FP,-4)	; _tempy
	._LINE	0, 253
	LDUB	@(FP,27),R5	; _num
	CMP	#5,R5
	BNC32	L_73,R12
L_357:				// Pred: L_72
	._LINE	0, 253
	LDI:32	#L_50359,R13
	LSL	#2,R5
	LD	@(R5,R13),R0
;-------table_branch
	JMP	@R0
	.section	CONST, CONST, align=4
	.align	4
L_50359:
	.word	L_74
	.word	L_75
	.word	L_76
	.word	L_77
	.word	L_78
	.section	CODE, CODE, align=2
	.align	2
L_74:				// Pred: L_357
	._LINE	0, 256
	LD	@(FP,8),R4	; _s
	LDUH	@(FP,-6),R6	; _tempx
	LDUH	@(FP,-4),R7	; _tempy
	LDUB	@(FP,-1),R0	; _tempOfsset
	ADDN	R0,R7
	LDI	#1,R5
	CALL21	_Display_MenuFont_Line1
	._LINE	0, 257
	LDUB	@(FP,35),R0	; _MenuDot
	CMP	#1,R0
	BNE32	L_81,R12
L_80:				// Pred: L_74
	._LINE	0, 258
	LDUH	@(FP,-6),R4	; _tempx
	LDI	#20,R0
	ADDN	R0,R4
	LDUH	@(FP,-4),R5	; _tempy
	ADDN	#10,R5
	CALL21	_Display_Dot0_Pos
	BRA32	L_73,R12
L_81:				// Pred: L_74
	._LINE	0, 260
	CALL21	_UnDisplay_Dot0
	._LINE	0, 260
	BRA32	L_73,R12
L_75:				// Pred: L_357
	._LINE	0, 263
	LD	@(FP,8),R4	; _s
	LDUH	@(FP,-6),R6	; _tempx
	LDUH	@(FP,-4),R7	; _tempy
	LDUB	@(FP,-1),R0	; _tempOfsset
	ADDN	R0,R7
	LDI	#1,R5
	CALL21	_Display_MenuFont_Line2
	._LINE	0, 264
	LDUB	@(FP,35),R0	; _MenuDot
	CMP	#1,R0
	BNE32	L_84,R12
L_83:				// Pred: L_75
	._LINE	0, 265
	LDUH	@(FP,-6),R4	; _tempx
	LDI	#20,R0
	ADDN	R0,R4
	LDUH	@(FP,-4),R5	; _tempy
	ADDN	#10,R5
	CALL21	_Display_Dot1_Pos
	BRA32	L_73,R12
L_84:				// Pred: L_75
	._LINE	0, 267
	CALL21	_UnDisplay_Dot1
	._LINE	0, 267
	BRA32	L_73,R12
L_76:				// Pred: L_357
	._LINE	0, 270
	LD	@(FP,8),R4	; _s
	LDUH	@(FP,-6),R6	; _tempx
	LDUH	@(FP,-4),R7	; _tempy
	LDUB	@(FP,-1),R0	; _tempOfsset
	ADDN	R0,R7
	LDI	#1,R5
	CALL21	_Display_MenuFont_Line3
	._LINE	0, 271
	LDUB	@(FP,35),R0	; _MenuDot
	CMP	#1,R0
	BNE32	L_87,R12
L_86:				// Pred: L_76
	._LINE	0, 272
	LDUH	@(FP,-6),R4	; _tempx
	LDI	#20,R0
	ADDN	R0,R4
	LDUH	@(FP,-4),R5	; _tempy
	ADDN	#10,R5
	CALL21	_Display_Dot2_Pos
	BRA32	L_73,R12
L_87:				// Pred: L_76
	._LINE	0, 274
	CALL21	_UnDisplay_Dot2
	._LINE	0, 274
	BRA32	L_73,R12
L_77:				// Pred: L_357
	._LINE	0, 277
	LD	@(FP,8),R4	; _s
	LDUH	@(FP,-6),R6	; _tempx
	LDUH	@(FP,-4),R7	; _tempy
	LDUB	@(FP,-1),R0	; _tempOfsset
	ADDN	R0,R7
	LDI	#1,R5
	CALL21	_Display_MenuFont_Line4
	._LINE	0, 278
	LDUB	@(FP,35),R0	; _MenuDot
	CMP	#1,R0
	BNE32	L_90,R12
L_89:				// Pred: L_77
	._LINE	0, 279
	LDUH	@(FP,-6),R4	; _tempx
	LDI	#20,R0
	ADDN	R0,R4
	LDUH	@(FP,-4),R5	; _tempy
	ADDN	#10,R5
	CALL21	_Display_Dot3_Pos
	BRA32	L_73,R12
L_90:				// Pred: L_77
	._LINE	0, 281
	CALL21	_UnDisplay_Dot3
	._LINE	0, 281
	BRA32	L_73,R12
L_78:				// Pred: L_357
	._LINE	0, 284
	LD	@(FP,8),R4	; _s
	LDUH	@(FP,-6),R6	; _tempx
	LDUH	@(FP,-4),R7	; _tempy
	LDUB	@(FP,-1),R0	; _tempOfsset
	ADDN	R0,R7
	LDI	#1,R5
	CALL21	_Display_MenuFont_Line5
	._LINE	0, 285
	LDUB	@(FP,35),R0	; _MenuDot
	CMP	#1,R0
	BNE32	L_93,R12
L_92:				// Pred: L_78
	._LINE	0, 286
	LDUH	@(FP,-6),R4	; _tempx
	LDI	#20,R0
	ADDN	R0,R4
	LDUH	@(FP,-4),R5	; _tempy
	ADDN	#10,R5
	CALL21	_Display_Dot4_Pos
	BRA32	L_73,R12
L_93:				// Pred: L_78
	._LINE	0, 288
	CALL21	_UnDisplay_Dot4
	._LINE	0, 289
L_73:				// Pred: L_93 L_92 L_90 L_89
				//	 L_87 L_86 L_84 L_83
				//	 L_81 L_80 L_357 L_72
	._LINE	0, 293
	LDUB	@(FP,23),R0	; _HighLight
	CMP	#0,R0
	BEQ32	L_99,R12
L_98:				// Pred: L_73
	._LINE	0, 293
	LDI:32	#_ItemNum,R0
	LDUB	@R0,R0	; _ItemNum
	CMP	#1,R0
	BLE32	L_99,R12
L_96:				// Pred: L_98
	._LINE	0, 294
	LDUH	@(FP,-6),R4	; _tempx
	ADDN	#5,R4
	LDUH	@(FP,-4),R5	; _tempy
	LDI	#18,R0
	ADDN	R0,R5
	CALL21	_Display_BlockPic_AnyPos
L_99:				// Pred: L_96 L_98 L_73
	._LINE	0, 294
	._CONFIG	E
	._LINE	0, 296
	LEAVE
	LD	@SP+,RP
	ADDSP	#16
	RET
	._CONFIG	E
	.global	_BarEnterSelect
	._SYMBOL	"BarEnterSelect", F, 0x8000000f, E, "_BarEnterSelect", F
	._FPARAM	S, 1, F
	._SYMBOL	"state", P, 0x80000002, A, 11
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 299
_BarEnterSelect:
L_100:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#16
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 56
	._CONFIG	S, B
L_101:				// Pred: L_100
	._LINE	0, 301
	LDUB	@(FP,11),R0	; _state
	CMP	#0,R0
	BEQ32	L_103,R12
L_102:				// Pred: L_101
	._LINE	0, 302
	._LINE	0, 303
	LDI:32	#_BarEnterFlag,R4
	LDUB	@R4,R0	; _BarEnterFlag
	CMP	#1,R0
	BEQ32	L_109,R12
L_104:				// Pred: L_102
	._LINE	0, 304
	._LINE	0, 305
	LDI	#1,R0
	STB	R0,@R4	; _BarEnterFlag
	._LINE	0, 306
	LDI:32	#_Item,R0
	LDUB	@R0,R13	; _Item
	LSL	#2,R13
	LDI:32	#_DispItem,R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LDI:32	#_gBarXoffset,R0
	LDUB	@R0,R5	; _gBarXoffset
	LDI:32	#_Where,R3
	LDUB	@R3,R2	; _Where
	LDI:32	#_gBarYsize,R0
	LDUB	@R0,R0	; _gBarYsize
	MUL	R0,R2
	MOV	MDL,R6
	LDI:32	#_gBarYoffset,R0
	LDUB	@R0,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LDUB	@R3,R7	; _Where
	LDI:32	#_DispMin,R0
	LDUB	@R0,R0	; _DispMin
	LDI	#3,R13
	STB	R7,@(SP,R13)
	LDI	#7,R13
	STB	R0,@(SP,R13)
	LDI	#0,R0
	LDI	#11,R13
	STB	R0,@(SP,R13)
	LDI	#1,R7
	CALL21	_BarDisp
	._LINE	0, 307
	._LINE	0, 308
	BRA32	L_109,R12
L_103:				// Pred: L_101
	._LINE	0, 310
	._LINE	0, 311
	LDI:32	#_BarEnterFlag,R3
	LDUB	@R3,R0	; _BarEnterFlag
	CMP	#2,R0
	BEQ32	L_109,R12
L_107:				// Pred: L_103
	._LINE	0, 312
	._LINE	0, 313
	LDI	#2,R0
	STB	R0,@R3	; _BarEnterFlag
	._LINE	0, 314
	LDI:32	#_Item,R0
	LDUB	@R0,R13	; _Item
	LSL	#2,R13
	LDI:32	#_DispItem,R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LDI:32	#_gBarXoffset,R0
	LDUB	@R0,R5	; _gBarXoffset
	LDI:32	#_Where,R2
	LDUB	@R2,R1	; _Where
	LDI:32	#_gBarYsize,R0
	LDUB	@R0,R0	; _gBarYsize
	MUL	R0,R1
	MOV	MDL,R6
	LDI:32	#_gBarYoffset,R0
	LDUB	@R0,R0	; _gBarYoffset
	ADDN	R0,R6
	ADDN	#1,R6
	EXTUH	R6
	LDUB	@R2,R1	; _Where
	LDI:32	#_DispMin,R0
	LDUB	@R0,R12	; _DispMin
	LDI	#3,R13
	STB	R1,@(SP,R13)
	LDI	#7,R13
	STB	R12,@(SP,R13)
	LDI	#0,R0
	LDI	#11,R13
	STB	R0,@(SP,R13)
	LDI	#0,R7
	CALL21	_BarDisp
	._LINE	0, 315
L_109:				// Pred: L_107 L_103 L_104 L_102
	._LINE	0, 316
	._CONFIG	E
	._LINE	0, 317
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_Jump2Menu
	._SYMBOL	"Jump2Menu", F, 0x8000000f, E, "_Jump2Menu", F
	._FPARAM	S, 2, F
	._SYMBOL	"Index", P, 0x80000002, A, 11
	._SYMBOL	"FlashMode", P, 0x80000002, A, 15
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 332
_Jump2Menu:
L_110:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 40
	._CONFIG	S, B
L_111:				// Pred: L_110
	._LINE	0, 334
	LDUB	@(FP,11),R0	; _Index
	LDI:32	#_KeyFuncIndex,R1
	STB	R0,@R1	; _KeyFuncIndex
	._LINE	0, 335
	LDUB	@(FP,15),R0	; _FlashMode
	CMP	#4,R0
	BNE32	L_113,R12
L_112:				// Pred: L_111
	._LINE	0, 336
	._LINE	0, 337
	LDUB	@(FP,15),R1	; _FlashMode
	LDI:32	#_Menu_ReFlash,R0
	STB	R1,@R0	; _Menu_ReFlash
	._LINE	0, 338
	BRA32	L_118,R12
L_113:				// Pred: L_111
	._LINE	0, 339
	LDUB	@(FP,15),R0	; _FlashMode
	CMP	#0,R0
	BEQ32	L_118,R12
L_115:				// Pred: L_113
	._LINE	0, 340
	._LINE	0, 341
	LDUB	@(FP,15),R0	; _FlashMode
	LDI:32	#_Flash,R1
	STB	R0,@R1	; _Flash
	._LINE	0, 342
L_118:				// Pred: L_115 L_113 L_112
	._LINE	0, 345
	._CONFIG	E
	._LINE	0, 346
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_InitMenuVal
	._SYMBOL	"InitMenuVal", F, 0x8000000f, E, "_InitMenuVal", F
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 357
_InitMenuVal:
L_119:
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 16
	._CONFIG	S, B
L_120:				// Pred: L_119
	._LINE	0, 359
	LDI:32	#_WhereBackup_i,R0
	LDI	#0,R2
	STB	R2,@R0	; _WhereBackup_i
	._LINE	0, 360
	LDI:32	#_ItemBackup_i,R0
	STB	R2,@R0	; _ItemBackup_i
	._LINE	0, 361
	LDI:32	#_Layer,R3
	STB	R2,@R3	; _Layer
	._LINE	0, 362
	LDUB	@R3,R1	; _Layer
	MOV	R1,R0
	ADDN	#1,R0
	STB	R0,@R3	; _Layer
	LDI:32	#_FatherIndex,R13
	STB	R2,@(R1,R13)	; _FatherIndex
L_121:				// Pred: L_120
	._LINE	0, 362
	._CONFIG	E
	._LINE	0, 363
	LEAVE
	LD	@SP+,RP
	RET
	._CONFIG	E
	.global	_PUSH
	._SYMBOL	"PUSH", F, 0x8000000f, E, "_PUSH", F
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 374
_PUSH:
L_122:
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 16
	._CONFIG	S, B
L_123:				// Pred: L_122
	._LINE	0, 376
	LDI:32	#_WhereBackup_i,R4
	LDUB	@R4,R1	; _WhereBackup_i
	MOV	R1,R0
	ADDN	#1,R0
	STB	R0,@R4	; _WhereBackup_i
	LDI:32	#_Where,R0
	LDUB	@R0,R0	; _Where
	LDI:32	#_WhereBackup,R13
	STB	R0,@(R1,R13)	; _WhereBackup
	._LINE	0, 377
	LDI:32	#_ItemBackup_i,R3
	LDUB	@R3,R1	; _ItemBackup_i
	MOV	R1,R0
	ADDN	#1,R0
	STB	R0,@R3	; _ItemBackup_i
	LDI:32	#_Item,R0
	LDUB	@R0,R0	; _Item
	LDI:32	#_ItemBackup,R13
	STB	R0,@(R1,R13)	; _ItemBackup
	._LINE	0, 378
	LDI:32	#_Layer,R2
	LDUB	@R2,R1	; _Layer
	MOV	R1,R0
	ADDN	#1,R0
	STB	R0,@R2	; _Layer
	LDI:32	#_KeyFuncIndex,R0
	LDUB	@R0,R0	; _KeyFuncIndex
	LDI:32	#_FatherIndex,R13
	STB	R0,@(R1,R13)	; _FatherIndex
L_124:				// Pred: L_123
	._LINE	0, 378
	._CONFIG	E
	._LINE	0, 379
	LEAVE
	LD	@SP+,RP
	RET
	._CONFIG	E
	.global	_POP
	._SYMBOL	"POP", F, 0x8000000f, E, "_POP", F
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 390
_POP:
L_125:
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 16
	._CONFIG	S, B
L_126:				// Pred: L_125
	._LINE	0, 392
	LDI:32	#_Layer,R4
	LDUB	@R4,R0	; _Layer
	ADDN	#-1,R0
	STB	R0,@R4	; _Layer
	._LINE	0, 393
	LDUB	@R4,R13	; _Layer
	ADDN	#-1,R13
	LDI:32	#_FatherIndex,R0
	LDUB	@(R0,R13),R0	; _FatherIndex
	LDI:32	#_KeyFuncIndex,R1
	STB	R0,@R1	; _KeyFuncIndex
	._LINE	0, 394
	LDI:32	#_WhereBackup_i,R2
	LDUB	@R2,R0	; _WhereBackup_i
	ADDN	#-1,R0
	STB	R0,@R2	; _WhereBackup_i
	LDUB	@R2,R13	; _WhereBackup_i
	LDI:32	#_WhereBackup,R0
	LDUB	@(R0,R13),R0	; _WhereBackup
	LDI:32	#_Where,R1
	STB	R0,@R1	; _Where
	._LINE	0, 395
	LDI:32	#_ItemBackup_i,R3
	LDUB	@R3,R0	; _ItemBackup_i
	ADDN	#-1,R0
	STB	R0,@R3	; _ItemBackup_i
	LDUB	@R3,R13	; _ItemBackup_i
	LDI:32	#_ItemBackup,R0
	LDUB	@(R0,R13),R0	; _ItemBackup
	LDI:32	#_Item,R1
	STB	R0,@R1	; _Item
	._LINE	0, 397
	LDI:32	#_Flash,R1
	LDI	#3,R0
	STB	R0,@R1	; _Flash
L_127:				// Pred: L_126
	._LINE	0, 397
	._CONFIG	E
	._LINE	0, 398
	LEAVE
	LD	@SP+,RP
	RET
	._CONFIG	E
	.global	_BarMenuInit
	._SYMBOL	"BarMenuInit", F, 0x8000000f, E, "_BarMenuInit", F
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 413
_BarMenuInit:
L_242:
	ST	RP,@-SP
	ENTER	#32
	STM	(R8,R9,R10,R11)
	ADDSP	#-12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 56
	._CONFIG	S, B
	._SYMBOL	"Menu_i", V, 0x80000002, A, -2
	._SYMBOL	"Menu_j", V, 0x80000002, A, -1
	LDI:32	#_gBarYsize,R9
	LDI:32	#_gBarYoffset,R8
	LDI:32	#_DispMin,R10
L_243:				// Pred: L_242
	._LINE	0, 415
	._LINE	0, 418
	LDI:32	#_KeyFuncIndex,R0
	LDUB	@R0,R0
	CMP	#10,R0
	BLT32	L_245,R12
L_244:				// Pred: L_243
	._LINE	0, 419
	._LINE	0, 420
	LDI	#26,R1
	STB	R1,@R9	; _gBarYsize
	._LINE	0, 421
	LDI	#10,R1
	STB	R1,@R8	; _gBarYoffset
	._LINE	0, 422
	BRA32	L_246,R12
L_245:				// Pred: L_243
	._LINE	0, 424
	._LINE	0, 425
	LDI	#26,R1
	STB	R1,@R9	; _gBarYsize
	._LINE	0, 426
	LDI	#10,R1
	STB	R1,@R8	; _gBarYoffset
	._LINE	0, 427
L_246:				// Pred: L_245 L_244
	._LINE	0, 429
	LDI:32	#_ItemNum,R0
	ST	R0,@(FP,-12)
	LDUB	@R0,R0	; _ItemNum
	CMP	#5,R0
	BLE32	L_248,R12
L_247:				// Pred: L_246
	._LINE	0, 430
	._LINE	0, 431
	LDI	#5,R1
	STB	R1,@R10	; _DispMin
	._LINE	0, 432
	BRA32	L_249,R12
L_248:				// Pred: L_246
	._LINE	0, 434
	._LINE	0, 435
	LD	@(FP,-12),R0
	LDUB	@R0,R1	; _ItemNum
	STB	R1,@R10	; _DispMin
	._LINE	0, 436
L_249:				// Pred: L_248 L_247
	._LINE	0, 438
	LDI:32	#_Flash,R6
	LDUB	@R6,R0	; _Flash
	CMP	#1,R0
	BNE32	L_251,R12
L_250:				// Pred: L_249
	._LINE	0, 439
	._LINE	0, 441
	CALL21	_PUSH
	._LINE	0, 443
	LDI:32	#_Item,R0
	LDI	#0,R5
	STB	R5,@R0	; _Item
	._LINE	0, 444
	LDI:32	#_Where,R0
	STB	R5,@R0	; _Where
	._LINE	0, 449
	BRA32	L_258,R12
L_251:				// Pred: L_249
	._LINE	0, 450
	LDUB	@R6,R0	; _Flash
	CMP	#2,R0
	BNE32	L_258,R12
L_252:				// Pred: L_251
	._LINE	0, 451
	._LINE	0, 453
	LDI:32	#_Where,R6
	LDUB	@R6,R3	; _Where
	MOV	R10,R0
	LDUB	@R0,R0	; _DispMin
	ADDN	#-1,R0
	CMP	R0,R3
	BLE32	L_254,R12
L_253:				// Pred: L_252
	._LINE	0, 454
	._LINE	0, 457
	LDI	#0,R0
	STB	R0,@R6	; _Where
	._LINE	0, 458
L_254:				// Pred: L_253 L_252
	._LINE	0, 459
	LDI:32	#_Item,R4
	LDUB	@R4,R7	; _Item
	LD	@(FP,-12),R0
	LDUB	@R0,R0	; _ItemNum
	ADDN	#-1,R0
	CMP	R0,R7
	BLE32	L_258,R12
L_255:				// Pred: L_254
	._LINE	0, 460
	._LINE	0, 463
	LDI	#0,R0
	STB	R0,@R4	; _Item
	._LINE	0, 464
	._LINE	0, 465
L_258:				// Pred: L_255 L_254 L_251 L_250
	._LINE	0, 468
	LDI:32	#_Item,R11
	LDUB	@R11,R13	; _Item
	LDI:32	#_Where,R0
	ST	R0,@(FP,-24)
	LDUB	@R0,R0	; _Where
	CMP	R0,R13
	BLT32	L_260,R12
L_259:				// Pred: L_258
	._LINE	0, 469
	._LINE	0, 471
	LDUB	@R11,R12	; _Item
	LD	@(FP,-24),R0
	LDUB	@R0,R0	; _Where
	SUBN	R0,R12
	STB	R12,@(FP,-1)	; _Menu_j
	._LINE	0, 472
	BRA32	L_262,R12
L_260:				// Pred: L_258
	._LINE	0, 474
	._LINE	0, 476
	LD	@(FP,-12),R0
	LDUB	@R0,R5	; _ItemNum
	LD	@(FP,-24),R0
	LDUB	@R0,R1	; _Where
	LDUB	@R11,R0	; _Item
	SUBN	R0,R1
	SUBN	R1,R5
	STB	R5,@(FP,-1)	; _Menu_j
	._LINE	0, 477
L_262:				// Pred: L_260 L_259
	._LINE	0, 481
	LDI	#0,R0
	STB	R0,@(FP,-2)	; _Menu_i
	LDUB	@(FP,-2),R1	; _Menu_i
	MOV	R10,R0
	ST	R0,@(FP,-8)
	LDUB	@R0,R0	; _DispMin
	CMP	R0,R1
	BGE32	L_275,R12
L_263:				// Pred: L_262
	._LINE	0, 481
	LDI:32	#_BmpMenuFlag,R0
	ST	R0,@(FP,-28)
	LDI:32	#_DispItem,R0
	ST	R0,@(FP,-16)
	LDI:32	#_gBarXoffset,R0
	ST	R0,@(FP,-20)
L_264:				// Pred: L_274 L_263
	._LINE	0, 482
	._LINE	0, 483
	LDUB	@(FP,-1),R4	; _Menu_j
	CALL21	_MenuDotSelect
	._LINE	0, 485
	LDUB	@(FP,-1),R0	; _Menu_j
	LDUB	@R11,R1	; _Item
	CMP	R1,R0
	BNE32	L_267,R12
L_265:				// Pred: L_264
	._LINE	0, 486
	._LINE	0, 488
	LD	@(FP,-28),R0
	LDUB	@R0,R0	; _BmpMenuFlag
	CMP	#2,R0
	BEQ32	L_270,R12
L_266:				// Pred: L_265
	._LINE	0, 489
	LDUB	@R11,R13	; _Item
	LSL	#2,R13
	LD	@(FP,-16),R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-20),R0
	LDUB	@R0,R5	; _gBarXoffset
	LD	@(FP,-24),R0
	LDUB	@R0,R3	; _Where
	MOV	R9,R0
	LDUB	@R0,R0	; _gBarYsize
	MUL	R0,R3
	MOV	MDL,R6
	MOV	R8,R0
	LDUB	@R0,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LDUB	@(FP,-2),R3	; _Menu_i
	LDUB	@R10,R2	; _DispMin
	LDI:32	#_DotDisplay,R0
	LDUB	@R0,R1	; _DotDisplay
	LDI	#3,R13
	STB	R3,@(SP,R13)
	LDI	#7,R13
	STB	R2,@(SP,R13)
	LDI	#11,R13
	STB	R1,@(SP,R13)
	LDI	#1,R7
	CALL21	_BarDisp
	._LINE	0, 490
	BRA32	L_270,R12
L_267:				// Pred: L_264
	._LINE	0, 492
	._LINE	0, 494
	LDI:32	#_BmpMenuFlag,R0
	LDUB	@R0,R0	; _BmpMenuFlag
	CMP	#2,R0
	BEQ32	L_270,R12
L_268:				// Pred: L_267
	._LINE	0, 495
	LDUB	@(FP,-1),R13	; _Menu_j
	LSL	#2,R13
	LDI:32	#_DispItem,R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LDI:32	#_gBarXoffset,R0
	LDUB	@R0,R5	; _gBarXoffset
	LDUB	@(FP,-2),R2	; _Menu_i
	MOV	R9,R0
	LDUB	@R0,R0	; _gBarYsize
	MUL	R0,R2
	MOV	MDL,R6
	MOV	R8,R0
	LDUB	@R0,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LDUB	@(FP,-2),R1	; _Menu_i
	LDUB	@R10,R12	; _DispMin
	LDI:32	#_DotDisplay,R0
	LDUB	@R0,R7	; _DotDisplay
	LDI	#3,R13
	STB	R1,@(SP,R13)
	LDI	#7,R13
	STB	R12,@(SP,R13)
	LDI	#11,R13
	STB	R7,@(SP,R13)
	LDI	#0,R7
	CALL21	_BarDisp
L_270:				// Pred: L_268 L_267 L_266 L_265
	._LINE	0, 497
	LDUB	@(FP,-1),R2	; _Menu_j
	LD	@(FP,-12),R0
	LDUB	@R0,R0	; _ItemNum
	CMP	R0,R2
	BNE32	L_272,R12
L_271:				// Pred: L_270
	._LINE	0, 498
	._LINE	0, 500
	LDI:32	#_ItemNum,R0
	LDUB	@R0,R0	; _ItemNum
	STB	R0,@(FP,-1)	; _Menu_j
	._LINE	0, 501
	BRA32	L_273,R12
L_272:				// Pred: L_270
	._LINE	0, 503
	._LINE	0, 505
	LDUB	@(FP,-1),R0	; _Menu_j
	ADDN	#1,R0
	STB	R0,@(FP,-1)	; _Menu_j
	._LINE	0, 506
L_273:				// Pred: L_272 L_271
	._LINE	0, 507
	LDUB	@(FP,-2),R0	; _Menu_i
	ADDN	#1,R0
	STB	R0,@(FP,-2)	; _Menu_i
L_274:				// Pred: L_273
	._LINE	0, 481
	LDUB	@(FP,-2),R4	; _Menu_i
	LD	@(FP,-8),R0
	LDUB	@R0,R0	; _DispMin
	CMP	R0,R4
	BLT32	L_264,R12
L_275:				// Pred: L_274 L_262
	._LINE	0, 508
	CALL21	_BarMenuArrowInit
L_276:				// Pred: L_275
	._LINE	0, 508
	._CONFIG	E
	._LINE	0, 509
	ADDSP	#12
	LDM	(R8,R9,R10,R11)
	LEAVE
	LD	@SP+,RP
	RET
	._CONFIG	E
	.global	_BarMenuLeft
	._SYMBOL	"BarMenuLeft", F, 0x8000000f, E, "_BarMenuLeft", F
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 512
_BarMenuLeft:
L_279:
	ST	RP,@-SP
	ENTER	#80
	STM	(R8,R9,R10,R11)
	ADDSP	#-12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 104
	._CONFIG	S, B
	._SYMBOL	"Menu_i", V, 0x80000002, A, -3
	._SYMBOL	"Menu_j", V, 0x80000002, A, -2
	._SYMBOL	"ItemBack", V, 0x80000002, A, -1
	LDI:32	#_gBarYoffset,R9
	LDI:32	#_gBarYsize,R10
	LDI:32	#_DispMin,R8
	LDI:32	#_gBarXoffset,R0
	ST	R0,@(FP,-32)
L_280:				// Pred: L_279
	._LINE	0, 514
	._LINE	0, 519
	LDI:32	#_KeyFuncIndex,R0
	LDUB	@R0,R0
	CMP	#10,R0
	BLT32	L_282,R12
L_281:				// Pred: L_280
	._LINE	0, 520
	._LINE	0, 521
	LDI	#26,R1
	STB	R1,@R10	; _gBarYsize
	._LINE	0, 522
	LDI	#10,R1
	STB	R1,@R9	; _gBarYoffset
	._LINE	0, 523
	BRA32	L_283,R12
L_282:				// Pred: L_280
	._LINE	0, 525
	._LINE	0, 526
	LDI	#26,R1
	STB	R1,@R10	; _gBarYsize
	._LINE	0, 527
	LDI	#10,R1
	STB	R1,@R9	; _gBarYoffset
	._LINE	0, 528
L_283:				// Pred: L_282 L_281
	._LINE	0, 530
	LDI:32	#_Item,R11
	LDUB	@R11,R0	; _Item
	STB	R0,@(FP,-1)	; _ItemBack
	._LINE	0, 531
	LDUB	@R11,R0	; _Item
	CMP	#0,R0
	BNE32	L_297,R12
L_284:				// Pred: L_283
	._LINE	0, 532
	._LINE	0, 533
	LDI:32	#_ItemNum,R0
	ST	R0,@(FP,-12)
	LDUB	@R0,R0	; _ItemNum
	ADDN	#-1,R0
	STB	R0,@R11	; _Item
	._LINE	0, 536
	LD	@(FP,-12),R0
	LDUB	@R0,R0	; _ItemNum
	CMP	#5,R0
	BLE32	L_298,R12
L_285:				// Pred: L_284
	._LINE	0, 537
	._LINE	0, 538
	LDI:32	#_Where,R0
	ST	R0,@(FP,-24)
	LDI	#4,R1
	STB	R1,@R0	; _Where
	._LINE	0, 539
	LD	@(FP,-12),R0
	LDUB	@R0,R0	; _ItemNum
	ADDN	#-5,R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 541
L_286:				// Pred: L_285
	._LINE	0, 541
	LDI	#0,R0
	STB	R0,@(FP,-3)	; _Menu_i
	LDUB	@(FP,-3),R3	; _Menu_i
	MOV	R8,R0
	ST	R0,@(FP,-8)
	LDUB	@R0,R0	; _DispMin
	CMP	R0,R3
	BGE32	L_296,R12
L_287:				// Pred: L_286
	._LINE	0, 541
	LDI:32	#_DispItem,R0
	ST	R0,@(FP,-16)
	LD	@(FP,-32),R0
	ST	R0,@(FP,-20)
	ST	R10,@(FP,-28)
L_288:				// Pred: L_295 L_287
	._LINE	0, 542
	._LINE	0, 543
	LDUB	@(FP,-2),R4	; _Menu_j
	CALL21	_MenuDotSelect
	._LINE	0, 545
	LDUB	@(FP,-2),R0	; _Menu_j
	LDUB	@R11,R1	; _Item
	CMP	R1,R0
	BNE32	L_290,R12
L_289:				// Pred: L_288
	._LINE	0, 546
	._LINE	0, 548
	LDUB	@R11,R13	; _Item
	LSL	#2,R13
	LD	@(FP,-16),R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-20),R0
	LDUB	@R0,R5	; _gBarXoffset
	LD	@(FP,-24),R0
	LDUB	@R0,R6	; _Where
	LD	@(FP,-28),R0
	LDUB	@R0,R0	; _gBarYsize
	MUL	R0,R6
	MOV	MDL,R6
	MOV	R9,R0
	LDUB	@R0,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LDUB	@(FP,-3),R2	; _Menu_i
	LDUB	@R8,R7	; _DispMin
	LDI:32	#_DotDisplay,R0
	LDUB	@R0,R1	; _DotDisplay
	LDI	#3,R13
	STB	R2,@(SP,R13)
	LDI	#7,R13
	STB	R7,@(SP,R13)
	LDI	#11,R13
	STB	R1,@(SP,R13)
	LDI	#1,R7
	CALL21	_BarDisp
	._LINE	0, 549
	BRA32	L_291,R12
L_290:				// Pred: L_288
	._LINE	0, 551
	._LINE	0, 553
	LDUB	@(FP,-2),R13	; _Menu_j
	LSL	#2,R13
	LDI:32	#_DispItem,R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-32),R0
	LDUB	@R0,R5	; _gBarXoffset
	LDUB	@(FP,-3),R2	; _Menu_i
	MOV	R10,R0
	LDUB	@R0,R0	; _gBarYsize
	MUL	R0,R2
	MOV	MDL,R6
	MOV	R9,R0
	LDUB	@R0,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LDUB	@(FP,-3),R12	; _Menu_i
	LDUB	@R8,R3	; _DispMin
	LDI:32	#_DotDisplay,R0
	LDUB	@R0,R7	; _DotDisplay
	LDI	#3,R13
	STB	R12,@(SP,R13)
	LDI	#7,R13
	STB	R3,@(SP,R13)
	LDI	#11,R13
	STB	R7,@(SP,R13)
	LDI	#0,R7
	CALL21	_BarDisp
	._LINE	0, 554
L_291:				// Pred: L_290 L_289
	._LINE	0, 556
	LDUB	@(FP,-2),R4	; _Menu_j
	LD	@(FP,-12),R0
	LDUB	@R0,R0	; _ItemNum
	ADDN	#-1,R0
	CMP	R0,R4
	BNE32	L_293,R12
L_292:				// Pred: L_291
	._LINE	0, 557
	._LINE	0, 559
	LDI	#0,R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 560
	BRA32	L_294,R12
L_293:				// Pred: L_291
	._LINE	0, 562
	._LINE	0, 564
	LDUB	@(FP,-2),R0	; _Menu_j
	ADDN	#1,R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 565
L_294:				// Pred: L_293 L_292
	._LINE	0, 566
	LDUB	@(FP,-3),R0	; _Menu_i
	ADDN	#1,R0
	STB	R0,@(FP,-3)	; _Menu_i
L_295:				// Pred: L_294
	._LINE	0, 541
	LDUB	@(FP,-3),R1	; _Menu_i
	LD	@(FP,-8),R0
	LDUB	@R0,R0	; _DispMin
	CMP	R0,R1
	BLT32	L_288,R12
L_296:				// Pred: L_295 L_286
	._LINE	0, 567
	LDI:32	#_Layer,R0
	LDUB	@R0,R13	; _Layer
	ADDN	#-1,R13
	LDI:32	#_FatherIndex,R0
	LDUB	@(R0,R13),R4	; _FatherIndex
	LDI	#0,R5
	CALL21	_Jump2Menu
	._LINE	0, 569
	CALL21	_BarMenuArrowUp
	._LINE	0, 570
	BRA32	L_316,R12
L_297:				// Pred: L_283
	._LINE	0, 575
	._LINE	0, 576
	LDUB	@R11,R0	; _Item
	ADDN	#-1,R0
	STB	R0,@R11	; _Item
	._LINE	0, 577
L_298:				// Pred: L_297 L_284
	._LINE	0, 579
	LDI:32	#_Where,R0
	ST	R0,@(FP,-36)
	LDUB	@R0,R0	; _Where
	CMP	#0,R0
	BEQ32	L_300,R12
L_299:				// Pred: L_298
	._LINE	0, 580
	._LINE	0, 585
	LDUB	@(FP,-1),R4	; _ItemBack
	CALL21	_MenuDotSelect
	._LINE	0, 586
	LDUB	@(FP,-1),R13	; _ItemBack
	LSL	#2,R13
	LDI:32	#_DispItem,R0
	ST	R0,@(FP,-56)
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-32),R0
	ST	R0,@(FP,-60)
	LDUB	@R0,R5	; _gBarXoffset
	LD	@(FP,-36),R0
	LDUB	@R0,R3	; _Where
	ST	R10,@(FP,-64)
	LDUB	@R10,R0	; _gBarYsize
	MUL	R0,R3
	MOV	MDL,R6
	LDUB	@R9,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LD	@(FP,-36),R0
	LDUB	@R0,R0	; _Where
	LDUB	@R8,R7	; _DispMin
	LDI:32	#_DotDisplay,R10
	LDUB	@R10,R1	; _DotDisplay
	LDI	#3,R13
	STB	R0,@(SP,R13)
	LDI	#7,R13
	STB	R7,@(SP,R13)
	LDI	#11,R13
	STB	R1,@(SP,R13)
	LDI	#0,R7
	CALL21	_BarDisp
	._LINE	0, 587
	LD	@(FP,-36),R0
	LDUB	@R0,R0	; _Where
	ADDN	#-1,R0
	LD	@(FP,-36),R1
	STB	R0,@R1	; _Where
	._LINE	0, 589
	LDUB	@R11,R4	; _Item
	CALL21	_MenuDotSelect
	._LINE	0, 590
	LDUB	@R11,R13	; _Item
	LSL	#2,R13
	LD	@(FP,-56),R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-60),R0
	LDUB	@R0,R5	; _gBarXoffset
	LD	@(FP,-36),R0
	LDUB	@R0,R12	; _Where
	LD	@(FP,-64),R0
	LDUB	@R0,R0	; _gBarYsize
	MUL	R0,R12
	MOV	MDL,R6
	LDUB	@R9,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LD	@(FP,-36),R0
	LDUB	@R0,R1	; _Where
	LDUB	@R8,R0	; _DispMin
	LDUB	@R10,R12	; _DotDisplay
	LDI	#3,R13
	STB	R1,@(SP,R13)
	LDI	#7,R13
	STB	R0,@(SP,R13)
	LDI	#11,R13
	STB	R12,@(SP,R13)
	LDI	#1,R7
	CALL21	_BarDisp
	._LINE	0, 592
	BRA32	L_315,R12
L_300:				// Pred: L_298
	._LINE	0, 594
	._LINE	0, 601
	LDI:32	#_ItemNum,R0
	ST	R0,@(FP,-52)
	LDUB	@R0,R0	; _ItemNum
	CMP	#5,R0
	BLE32	L_313,R12
L_301:				// Pred: L_300
	._LINE	0, 602
	._LINE	0, 613
	LDUB	@R11,R0	; _Item
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 614
	LDI	#0,R0
	STB	R0,@(FP,-37)
	STB	R0,@(FP,-3)	; _Menu_i
	._LINE	0, 616
	LDUB	@(FP,-2),R4	; _Menu_j
	CALL21	_MenuDotSelect
	._LINE	0, 617
	LDUB	@(FP,-2),R13	; _Menu_j
	LSL	#2,R13
	LDI:32	#_DispItem,R0
	ST	R0,@(FP,-44)
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-32),R0
	ST	R0,@(FP,-48)
	LDUB	@R0,R5	; _gBarXoffset
	LDUB	@(FP,-3),R0	; _Menu_i
	LDUB	@R10,R1	; _gBarYsize
	MUL	R1,R0
	MOV	MDL,R6
	LDUB	@R9,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LDUB	@(FP,-3),R0	; _Menu_i
	LDUB	@R8,R12	; _DispMin
	LDI:32	#_DotDisplay,R11
	LDUB	@R11,R2	; _DotDisplay
	LDI	#3,R13
	STB	R0,@(SP,R13)
	LDI	#7,R13
	STB	R12,@(SP,R13)
	LDI	#11,R13
	STB	R2,@(SP,R13)
	LDI	#1,R7
	CALL21	_BarDisp
	._LINE	0, 618
	LDUB	@(FP,-2),R13	; _Menu_j
	LD	@(FP,-52),R0
	LDUB	@R0,R0	; _ItemNum
	ADDN	#-1,R0
	CMP	R0,R13
	BNE32	L_303,R12
L_302:				// Pred: L_301
	._LINE	0, 619
	._LINE	0, 621
	LDUB	@(FP,-37),R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 622
	BRA32	L_305,R12
L_303:				// Pred: L_301
	._LINE	0, 624
	._LINE	0, 625
	LDUB	@(FP,-2),R0	; _Menu_j
	ADDN	#1,R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 626
L_305:				// Pred: L_303 L_302
	._LINE	0, 628
	LDI	#1,R0
	STB	R0,@(FP,-3)	; _Menu_i
	LDUB	@(FP,-3),R0	; _Menu_i
	CMP	#5,R0
	BGE32	L_312,R12
L_306:				// Pred: L_305
	._LINE	0, 628
L_307:				// Pred: L_311 L_306
	._LINE	0, 629
	._LINE	0, 630
	LDUB	@(FP,-2),R4	; _Menu_j
	CALL21	_MenuDotSelect
	._LINE	0, 631
	LDUB	@(FP,-2),R13	; _Menu_j
	LSL	#2,R13
	LD	@(FP,-44),R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-48),R0
	LDUB	@R0,R5	; _gBarXoffset
	LDUB	@(FP,-3),R0	; _Menu_i
	LDUB	@R10,R1	; _gBarYsize
	MUL	R1,R0
	MOV	MDL,R6
	LDUB	@R9,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LDUB	@(FP,-3),R0	; _Menu_i
	LDUB	@R8,R1	; _DispMin
	LDUB	@R11,R2	; _DotDisplay
	LDI	#3,R13
	STB	R0,@(SP,R13)
	LDI	#7,R13
	STB	R1,@(SP,R13)
	LDI	#11,R13
	STB	R2,@(SP,R13)
	LDI	#0,R7
	CALL21	_BarDisp
	._LINE	0, 632
	LDUB	@(FP,-2),R2	; _Menu_j
	LD	@(FP,-52),R0
	LDUB	@R0,R0	; _ItemNum
	ADDN	#-1,R0
	CMP	R0,R2
	BNE32	L_309,R12
L_308:				// Pred: L_307
	._LINE	0, 633
	._LINE	0, 634
	LDI	#0,R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 635
	BRA32	L_310,R12
L_309:				// Pred: L_307
	._LINE	0, 637
	._LINE	0, 638
	LDUB	@(FP,-2),R0	; _Menu_j
	ADDN	#1,R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 639
L_310:				// Pred: L_309 L_308
	._LINE	0, 640
	LDUB	@(FP,-3),R0	; _Menu_i
	ADDN	#1,R0
	STB	R0,@(FP,-3)	; _Menu_i
L_311:				// Pred: L_310
	._LINE	0, 628
	LDUB	@(FP,-3),R0	; _Menu_i
	CMP	#5,R0
	BLT32	L_307,R12
L_312:				// Pred: L_311 L_305
	._LINE	0, 641
	LD	@(FP,-36),R1
	LDUB	@(FP,-37),R0
	STB	R0,@R1	; _Where
	._LINE	0, 642
	BRA32	L_315,R12
L_313:				// Pred: L_300
	._LINE	0, 644
	._LINE	0, 647
	LD	@(FP,-52),R0
	LDUB	@R0,R0	; _ItemNum
	ADDN	#-1,R0
	LD	@(FP,-36),R1
	STB	R0,@R1	; _Where
	._LINE	0, 649
	LDUB	@(FP,-1),R4	; _ItemBack
	CALL21	_MenuDotSelect
	._LINE	0, 650
	LDUB	@(FP,-1),R13	; _ItemBack
	LSL	#2,R13
	LDI:32	#_DispItem,R0
	ST	R0,@(FP,-68)
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-32),R0
	ST	R0,@(FP,-72)
	LDUB	@R0,R5	; _gBarXoffset
	ST	R10,@(FP,-76)
	LDUB	@R10,R6	; _gBarYsize
	LDUB	@R9,R6	; _gBarYoffset
	EXTUH	R6
	LDUB	@R8,R3	; _DispMin
	LDI:32	#_DotDisplay,R10
	LDUB	@R10,R12	; _DotDisplay
	LDI	#0,R0
	LDI	#3,R13
	STB	R0,@(SP,R13)
	LDI	#7,R13
	STB	R3,@(SP,R13)
	LDI	#11,R13
	STB	R12,@(SP,R13)
	LDI	#0,R7
	CALL21	_BarDisp
	._LINE	0, 652
	LDUB	@R11,R4	; _Item
	CALL21	_MenuDotSelect
	._LINE	0, 653
	LDUB	@R11,R13	; _Item
	LSL	#2,R13
	LD	@(FP,-68),R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-72),R0
	LDUB	@R0,R5	; _gBarXoffset
	LD	@(FP,-36),R0
	LDUB	@R0,R7	; _Where
	LD	@(FP,-76),R0
	LDUB	@R0,R0	; _gBarYsize
	MUL	R0,R7
	MOV	MDL,R6
	LDUB	@R9,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LD	@(FP,-36),R0
	LDUB	@R0,R7	; _Where
	LDUB	@R8,R3	; _DispMin
	LDUB	@R10,R2	; _DotDisplay
	LDI	#3,R13
	STB	R7,@(SP,R13)
	LDI	#7,R13
	STB	R3,@(SP,R13)
	LDI	#11,R13
	STB	R2,@(SP,R13)
	LDI	#1,R7
	CALL21	_BarDisp
	._LINE	0, 654
L_315:				// Pred: L_313 L_312 L_299
	._LINE	0, 665
	LDI:32	#_Layer,R0
	LDUB	@R0,R13	; _Layer
	ADDN	#-1,R13
	LDI:32	#_FatherIndex,R0
	LDUB	@(R0,R13),R4	; _FatherIndex
	LDI	#0,R5
	CALL21	_Jump2Menu
	._LINE	0, 668
	CALL21	_BarMenuArrowUp
L_316:				// Pred: L_315 L_296
	._LINE	0, 668
	._CONFIG	E
	._LINE	0, 669
	ADDSP	#12
	LDM	(R8,R9,R10,R11)
	LEAVE
	LD	@SP+,RP
	RET
	._CONFIG	E
	.global	_BarMenuRight
	._SYMBOL	"BarMenuRight", F, 0x8000000f, E, "_BarMenuRight", F
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 683
_BarMenuRight:
L_319:
	ST	RP,@-SP
	ENTER	#76
	STM	(R8,R9,R10,R11)
	ADDSP	#-12
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 104
	._CONFIG	S, B
	._SYMBOL	"Menu_i", V, 0x80000002, A, -3
	._SYMBOL	"Menu_j", V, 0x80000002, A, -2
	._SYMBOL	"ItemBack", V, 0x80000002, A, -1
	LDI:32	#_gBarYoffset,R8
	LDI:32	#_gBarYsize,R9
	LDI:32	#_DispItem,R0
	ST	R0,@(FP,-28)
	LDI:32	#_gBarXoffset,R0
	ST	R0,@(FP,-32)
L_320:				// Pred: L_319
	._LINE	0, 685
	._LINE	0, 690
	LDI:32	#_KeyFuncIndex,R0
	LDUB	@R0,R0
	CMP	#10,R0
	BLT32	L_322,R12
L_321:				// Pred: L_320
	._LINE	0, 691
	._LINE	0, 692
	LDI	#26,R1
	STB	R1,@R9	; _gBarYsize
	._LINE	0, 693
	LDI	#10,R1
	STB	R1,@R8	; _gBarYoffset
	._LINE	0, 694
	BRA32	L_323,R12
L_322:				// Pred: L_320
	._LINE	0, 696
	._LINE	0, 697
	LDI	#26,R1
	STB	R1,@R9	; _gBarYsize
	._LINE	0, 698
	LDI	#10,R1
	STB	R1,@R8	; _gBarYoffset
	._LINE	0, 699
L_323:				// Pred: L_322 L_321
	._LINE	0, 701
	LDI:32	#_Item,R11
	LDUB	@R11,R0	; _Item
	STB	R0,@(FP,-1)	; _ItemBack
	._LINE	0, 702
	LDUB	@R11,R6	; _Item
	LDI:32	#_ItemNum,R10
	LDUB	@R10,R0	; _ItemNum
	ADDN	#-1,R0
	CMP	R0,R6
	BNE32	L_337,R12
L_324:				// Pred: L_323
	._LINE	0, 703
	._LINE	0, 704
	LDI	#0,R13
	STB	R13,@R11	; _Item
	._LINE	0, 707
	LDUB	@R10,R0	; _ItemNum
	CMP	#5,R0
	BLE32	L_338,R12
L_325:				// Pred: L_324
	._LINE	0, 708
	._LINE	0, 709
	LDI:32	#_Where,R0
	ST	R0,@(FP,-20)
	STB	R13,@R0	; _Where
	._LINE	0, 710
	STB	R13,@(FP,-2)	; _Menu_j
	._LINE	0, 712
L_326:				// Pred: L_325
	._LINE	0, 712
	STB	R13,@(FP,-3)	; _Menu_i
	LDUB	@(FP,-3),R4	; _Menu_i
	LDI:32	#_DispMin,R0
	ST	R0,@(FP,-8)
	LDUB	@R0,R0	; _DispMin
	CMP	R0,R4
	BGE32	L_336,R12
L_327:				// Pred: L_326
	._LINE	0, 712
	LD	@(FP,-28),R0
	ST	R0,@(FP,-12)
	LD	@(FP,-32),R0
	ST	R0,@(FP,-16)
	ST	R9,@(FP,-24)
L_328:				// Pred: L_335 L_327
	._LINE	0, 713
	._LINE	0, 714
	LDUB	@(FP,-2),R4	; _Menu_j
	CALL21	_MenuDotSelect
	._LINE	0, 716
	LDUB	@(FP,-2),R0	; _Menu_j
	LDUB	@R11,R1	; _Item
	CMP	R1,R0
	BNE32	L_330,R12
L_329:				// Pred: L_328
	._LINE	0, 717
	._LINE	0, 719
	LDUB	@R11,R13	; _Item
	LSL	#2,R13
	LD	@(FP,-12),R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-16),R0
	LDUB	@R0,R5	; _gBarXoffset
	LD	@(FP,-20),R0
	LDUB	@R0,R7	; _Where
	LD	@(FP,-24),R0
	LDUB	@R0,R0	; _gBarYsize
	MUL	R0,R7
	MOV	MDL,R6
	MOV	R8,R0
	LDUB	@R0,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LDUB	@(FP,-3),R2	; _Menu_i
	LDI:32	#_DispMin,R0
	LDUB	@R0,R1	; _DispMin
	LDI:32	#_DotDisplay,R0
	LDUB	@R0,R0	; _DotDisplay
	LDI	#3,R13
	STB	R2,@(SP,R13)
	LDI	#7,R13
	STB	R1,@(SP,R13)
	LDI	#11,R13
	STB	R0,@(SP,R13)
	LDI	#1,R7
	CALL21	_BarDisp
	._LINE	0, 720
	BRA32	L_331,R12
L_330:				// Pred: L_328
	._LINE	0, 722
	._LINE	0, 724
	LDUB	@(FP,-2),R13	; _Menu_j
	LSL	#2,R13
	LD	@(FP,-28),R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-32),R0
	LDUB	@R0,R5	; _gBarXoffset
	LDUB	@(FP,-3),R6	; _Menu_i
	MOV	R9,R0
	LDUB	@R0,R0	; _gBarYsize
	MUL	R0,R6
	MOV	MDL,R6
	MOV	R8,R0
	LDUB	@R0,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LDUB	@(FP,-3),R3	; _Menu_i
	LDI:32	#_DispMin,R0
	LDUB	@R0,R2	; _DispMin
	LDI:32	#_DotDisplay,R0
	LDUB	@R0,R7	; _DotDisplay
	LDI	#3,R13
	STB	R3,@(SP,R13)
	LDI	#7,R13
	STB	R2,@(SP,R13)
	LDI	#11,R13
	STB	R7,@(SP,R13)
	LDI	#0,R7
	CALL21	_BarDisp
	._LINE	0, 725
L_331:				// Pred: L_330 L_329
	._LINE	0, 726
	LDUB	@(FP,-2),R7	; _Menu_j
	LDUB	@R10,R0	; _ItemNum
	ADDN	#-1,R0
	CMP	R0,R7
	BNE32	L_333,R12
L_332:				// Pred: L_331
	._LINE	0, 727
	._LINE	0, 729
	LDI	#0,R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 730
	BRA32	L_334,R12
L_333:				// Pred: L_331
	._LINE	0, 732
	._LINE	0, 734
	LDUB	@(FP,-2),R0	; _Menu_j
	ADDN	#1,R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 735
L_334:				// Pred: L_333 L_332
	._LINE	0, 736
	LDUB	@(FP,-3),R0	; _Menu_i
	ADDN	#1,R0
	STB	R0,@(FP,-3)	; _Menu_i
L_335:				// Pred: L_334
	._LINE	0, 712
	LDUB	@(FP,-3),R5	; _Menu_i
	LD	@(FP,-8),R0
	LDUB	@R0,R0	; _DispMin
	CMP	R0,R5
	BLT32	L_328,R12
L_336:				// Pred: L_335 L_326
	._LINE	0, 737
	LDI:32	#_Layer,R0
	LDUB	@R0,R13	; _Layer
	ADDN	#-1,R13
	LDI:32	#_FatherIndex,R0
	LDUB	@(R0,R13),R4	; _FatherIndex
	LDI	#0,R5
	CALL21	_Jump2Menu
	._LINE	0, 739
	CALL21	_BarMenuArrowDown
	._LINE	0, 740
	BRA32	L_356,R12
L_337:				// Pred: L_323
	._LINE	0, 746
	._LINE	0, 747
	LDUB	@R11,R0	; _Item
	ADDN	#1,R0
	STB	R0,@R11	; _Item
	._LINE	0, 749
L_338:				// Pred: L_337 L_324
	._LINE	0, 751
	LDI:32	#_Where,R0
	ST	R0,@(FP,-36)
	LDUB	@R0,R1	; _Where
	LDI:32	#_DispMin,R0
	ST	R0,@(FP,-40)
	LDUB	@R0,R0	; _DispMin
	ADDN	#-1,R0
	CMP	R0,R1
	BEQ32	L_340,R12
L_339:				// Pred: L_338
	._LINE	0, 752
	._LINE	0, 755
	LDUB	@(FP,-1),R4	; _ItemBack
	CALL21	_MenuDotSelect
	._LINE	0, 756
	LDUB	@(FP,-1),R13	; _ItemBack
	LSL	#2,R13
	LD	@(FP,-28),R0
	ST	R0,@(FP,-56)
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-32),R0
	ST	R0,@(FP,-60)
	LDUB	@R0,R5	; _gBarXoffset
	LD	@(FP,-36),R0
	LDUB	@R0,R0	; _Where
	LDUB	@R9,R1	; _gBarYsize
	MUL	R1,R0
	MOV	MDL,R6
	LDUB	@R8,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LD	@(FP,-36),R0
	LDUB	@R0,R1	; _Where
	LD	@(FP,-40),R0
	LDUB	@R0,R3	; _DispMin
	LDI:32	#_DotDisplay,R10
	LDUB	@R10,R12	; _DotDisplay
	LDI	#3,R13
	STB	R1,@(SP,R13)
	LDI	#7,R13
	STB	R3,@(SP,R13)
	LDI	#11,R13
	STB	R12,@(SP,R13)
	LDI	#0,R7
	CALL21	_BarDisp
	._LINE	0, 757
	LD	@(FP,-36),R0
	LDUB	@R0,R0	; _Where
	ADDN	#1,R0
	LD	@(FP,-36),R1
	STB	R0,@R1	; _Where
	._LINE	0, 759
	LDUB	@R11,R4	; _Item
	CALL21	_MenuDotSelect
	._LINE	0, 760
	LDUB	@R11,R13	; _Item
	LSL	#2,R13
	LD	@(FP,-56),R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-60),R0
	LDUB	@R0,R5	; _gBarXoffset
	LD	@(FP,-36),R0
	LDUB	@R0,R2	; _Where
	LDUB	@R9,R0	; _gBarYsize
	MUL	R0,R2
	MOV	MDL,R6
	LDUB	@R8,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LD	@(FP,-36),R0
	LDUB	@R0,R12	; _Where
	LD	@(FP,-40),R0
	LDUB	@R0,R3	; _DispMin
	LDUB	@R10,R2	; _DotDisplay
	LDI	#3,R13
	STB	R12,@(SP,R13)
	LDI	#7,R13
	STB	R3,@(SP,R13)
	LDI	#11,R13
	STB	R2,@(SP,R13)
	LDI	#1,R7
	CALL21	_BarDisp
	._LINE	0, 762
	BRA32	L_355,R12
L_340:				// Pred: L_338
	._LINE	0, 764
	._LINE	0, 765
	LDUB	@R10,R0	; _ItemNum
	CMP	#5,R0
	BLE32	L_353,R12
L_341:				// Pred: L_340
	._LINE	0, 766
	._LINE	0, 777
	LDUB	@R11,R0	; _Item
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 778
	LDI	#5,R0
	STB	R0,@(FP,-61)
	STB	R0,@(FP,-3)	; _Menu_i
	._LINE	0, 780
	LDUB	@(FP,-2),R4	; _Menu_j
	CALL21	_MenuDotSelect
	._LINE	0, 781
	LDUB	@(FP,-2),R13	; _Menu_j
	LSL	#2,R13
	LD	@(FP,-28),R0
	ST	R0,@(FP,-48)
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-32),R0
	ST	R0,@(FP,-52)
	LDUB	@R0,R5	; _gBarXoffset
	LDUB	@(FP,-3),R0	; _Menu_i
	ADDN	#-1,R0
	LDUB	@R9,R1	; _gBarYsize
	MUL	R1,R0
	MOV	MDL,R6
	LDUB	@R8,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LDUB	@(FP,-3),R0	; _Menu_i
	ADDN	#-1,R0
	LDI:32	#_DotDisplay,R11
	LDUB	@R11,R1	; _DotDisplay
	LDI	#3,R13
	STB	R0,@(SP,R13)
	LDI	#7,R13
	LDUB	@(FP,-61),R0
	STB	R0,@(SP,R13)
	LDI	#11,R13
	STB	R1,@(SP,R13)
	LDI	#1,R7
	CALL21	_BarDisp
	._LINE	0, 782
	LDUB	@(FP,-2),R0	; _Menu_j
	CMP	#0,R0
	BNE32	L_343,R12
L_342:				// Pred: L_341
	._LINE	0, 783
	._LINE	0, 784
	LDUB	@R10,R0	; _ItemNum
	ADDN	#-1,R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 785
	BRA32	L_345,R12
L_343:				// Pred: L_341
	._LINE	0, 787
	._LINE	0, 788
	LDUB	@(FP,-2),R0	; _Menu_j
	ADDN	#-1,R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 789
L_345:				// Pred: L_343 L_342
	._LINE	0, 791
	LDI	#4,R0
	STB	R0,@(FP,-41)
	STB	R0,@(FP,-3)	; _Menu_i
	LDUB	@(FP,-3),R0	; _Menu_i
	CMP	#0,R0
	BLE32	L_352,R12
L_346:				// Pred: L_345
	._LINE	0, 791
L_347:				// Pred: L_351 L_346
	._LINE	0, 792
	._LINE	0, 793
	LDUB	@(FP,-2),R4	; _Menu_j
	CALL21	_MenuDotSelect
	._LINE	0, 794
	LDUB	@(FP,-2),R13	; _Menu_j
	LSL	#2,R13
	LD	@(FP,-48),R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-52),R0
	LDUB	@R0,R5	; _gBarXoffset
	LDUB	@(FP,-3),R0	; _Menu_i
	ADDN	#-1,R0
	LDUB	@R9,R1	; _gBarYsize
	MUL	R1,R0
	MOV	MDL,R6
	LDUB	@R8,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LDUB	@(FP,-3),R0	; _Menu_i
	ADDN	#-1,R0
	LDUB	@R11,R3	; _DotDisplay
	LDI	#3,R13
	STB	R0,@(SP,R13)
	LDI	#5,R0
	LDI	#7,R13
	STB	R0,@(SP,R13)
	LDI	#11,R13
	STB	R3,@(SP,R13)
	LDI	#0,R7
	CALL21	_BarDisp
	._LINE	0, 795
	LDUB	@(FP,-2),R0	; _Menu_j
	CMP	#0,R0
	BNE32	L_349,R12
L_348:				// Pred: L_347
	._LINE	0, 796
	._LINE	0, 797
	LDUB	@R10,R0	; _ItemNum
	ADDN	#-1,R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 798
	BRA32	L_350,R12
L_349:				// Pred: L_347
	._LINE	0, 800
	._LINE	0, 801
	LDUB	@(FP,-2),R0	; _Menu_j
	ADDN	#-1,R0
	STB	R0,@(FP,-2)	; _Menu_j
	._LINE	0, 802
L_350:				// Pred: L_349 L_348
	._LINE	0, 803
	LDUB	@(FP,-3),R0	; _Menu_i
	ADDN	#-1,R0
	STB	R0,@(FP,-3)	; _Menu_i
L_351:				// Pred: L_350
	._LINE	0, 791
	LDUB	@(FP,-3),R0	; _Menu_i
	CMP	#0,R0
	BGT32	L_347,R12
L_352:				// Pred: L_351 L_345
	._LINE	0, 804
	LD	@(FP,-36),R0
	LDUB	@(FP,-41),R1
	STB	R1,@R0	; _Where
	._LINE	0, 805
	BRA32	L_355,R12
L_353:				// Pred: L_340
	._LINE	0, 807
	._LINE	0, 809
	LDI	#0,R0
	LD	@(FP,-36),R1
	STB	R0,@R1	; _Where
	._LINE	0, 811
	LDUB	@(FP,-1),R4	; _ItemBack
	CALL21	_MenuDotSelect
	._LINE	0, 812
	LDUB	@(FP,-1),R13	; _ItemBack
	LSL	#2,R13
	LD	@(FP,-28),R0
	ST	R0,@(FP,-68)
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-32),R0
	ST	R0,@(FP,-72)
	LDUB	@R0,R5	; _gBarXoffset
	LDUB	@R10,R0	; _ItemNum
	ADDN	#-1,R0
	LDUB	@R9,R1	; _gBarYsize
	MUL	R1,R0
	MOV	MDL,R6
	LDUB	@R8,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LDUB	@R10,R2	; _ItemNum
	ADDN	#-1,R2
	LD	@(FP,-40),R0
	LDUB	@R0,R12	; _DispMin
	LDI:32	#_DotDisplay,R10
	LDUB	@R10,R7	; _DotDisplay
	LDI	#3,R13
	STB	R2,@(SP,R13)
	LDI	#7,R13
	STB	R12,@(SP,R13)
	LDI	#11,R13
	STB	R7,@(SP,R13)
	LDI	#0,R7
	CALL21	_BarDisp
	._LINE	0, 814
	LDUB	@R11,R4	; _Item
	CALL21	_MenuDotSelect
	._LINE	0, 815
	LDUB	@R11,R13	; _Item
	LSL	#2,R13
	LD	@(FP,-68),R0
	LD	@R0,R0	; _DispItem
	LD	@(R0,R13),R4
	LD	@(FP,-72),R0
	LDUB	@R0,R5	; _gBarXoffset
	LD	@(FP,-36),R0
	LDUB	@R0,R3	; _Where
	LDUB	@R9,R0	; _gBarYsize
	MUL	R0,R3
	MOV	MDL,R6
	LDUB	@R8,R0	; _gBarYoffset
	ADDN	R0,R6
	EXTUH	R6
	LD	@(FP,-36),R0
	LDUB	@R0,R1	; _Where
	LD	@(FP,-40),R0
	LDUB	@R0,R0	; _DispMin
	LDUB	@R10,R7	; _DotDisplay
	LDI	#3,R13
	STB	R1,@(SP,R13)
	LDI	#7,R13
	STB	R0,@(SP,R13)
	LDI	#11,R13
	STB	R7,@(SP,R13)
	LDI	#1,R7
	CALL21	_BarDisp
	._LINE	0, 816
L_355:				// Pred: L_353 L_352 L_339
	._LINE	0, 827
	LDI:32	#_Layer,R0
	LDUB	@R0,R13	; _Layer
	ADDN	#-1,R13
	LDI:32	#_FatherIndex,R0
	LDUB	@(R0,R13),R4	; _FatherIndex
	LDI	#0,R5
	CALL21	_Jump2Menu
	._LINE	0, 830
	CALL21	_BarMenuArrowDown
L_356:				// Pred: L_355 L_336
	._LINE	0, 830
	._CONFIG	E
	._LINE	0, 831
	ADDSP	#12
	LDM	(R8,R9,R10,R11)
	LEAVE
	LD	@SP+,RP
	RET
	._CONFIG	E
	.global	_MenuCheckKey
	._SYMBOL	"MenuCheckKey", F, 0x80000002, E, "_MenuCheckKey", F
	._FPARAM	S, 1, F
	._SYMBOL	"key", P, 0x19, A, 8
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 850
_MenuCheckKey:
L_238:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 40
	._CONFIG	S, B
L_239:				// Pred: L_238
	._LINE	0, 941
	LDI:32	#_Menu_BackToFlag,R0
	LDUB	@R0,R4	; _Menu_BackToFlag
L_240:				// Pred: L_239
	._LINE	0, 941
	._CONFIG	E
	._LINE	0, 942
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	._SYMBOL	"KeyFuncPtr", V, 0x8000000f, E, "_KeyFuncPtr"
	._POINTER	1
	._FPARAM	S, 0, F
	._FPARAM	E
	._SYMBOL	"MenuDotStatus", V, 0x80000004, E, "_MenuDotStatus"
	._SYMBOL	"DotDisplay", V, 0x80000002, E, "_DotDisplay"
	._SYMBOL	"BmpMenuFlag", V, 0x80000002, E, "_BmpMenuFlag"
	._SYMBOL	"BarEnterFlag", V, 0x80000002, E, "_BarEnterFlag"
	._SYMBOL	"Menu_BackToFlag", V, 0x80000002, E, "_Menu_BackToFlag"
	._SYMBOL	"KeyFuncIndex", V, 0x80000002, E, "_KeyFuncIndex"
	._SYMBOL	"DispItem", V, 0x80000002, E, "_DispItem"
	._POINTER	1
	._POINTER	1
	._SYMBOL	"DispMin", V, 0x80000002, E, "_DispMin"
	._SYMBOL	"Where", V, 0x80000002, E, "_Where"
	._SYMBOL	"ItemSelectBuffer", V, 0x8000000e, E, "_ItemSelectBuffer"
	._ARRAY	1, 1, 31, 0
	._SYMBOL	"ItemSelect", V, 0x80000002, E, "_ItemSelect"
	._SYMBOL	"ItemNum", V, 0x80000002, E, "_ItemNum"
	._SYMBOL	"Item", V, 0x80000002, E, "_Item"
	._SYMBOL	"WhereBackup_i", V, 0x80000002, E, "_WhereBackup_i"
	._SYMBOL	"WhereBackup", V, 0x80000002, E, "_WhereBackup"
	._ARRAY	1, 1, 4, 0
	._SYMBOL	"ItemBackup_i", V, 0x80000002, E, "_ItemBackup_i"
	._SYMBOL	"ItemBackup", V, 0x80000002, E, "_ItemBackup"
	._ARRAY	1, 1, 4, 0
	._SYMBOL	"Layer", V, 0x80000002, E, "_Layer"
	._SYMBOL	"FatherIndex", V, 0x80000002, E, "_FatherIndex"
	._ARRAY	1, 1, 5, 0
	._SYMBOL	"Menu_ReFlash", V, 0x80000002, E, "_Menu_ReFlash"
	._SYMBOL	"Flash", V, 0x80000002, E, "_Flash"
	._SYMBOL	"gBarYoffset", V, 0x80000002, E, "_gBarYoffset"
	._SYMBOL	"gBarXoffset", V, 0x80000002, E, "_gBarXoffset"
	._SYMBOL	"gBarYsize", V, 0x80000002, E, "_gBarYsize"
	._SYMBOL	"Font_SongName_config", V, 0x1e, S, "_Font_SongName_config"
	._TYPED	C
	._SYMBOL	"Font_F_config", V, 0x1e, S, "_Font_F_config"
	._TYPED	C
	._SYMBOL	"Font_E_config", V, 0x1e, S, "_Font_E_config"
	._TYPED	C
	._SYMBOL	"Font_D_config", V, 0x1e, S, "_Font_D_config"
	._TYPED	C
	._SYMBOL	"Font_C_config", V, 0x1e, S, "_Font_C_config"
	._TYPED	C
	._SYMBOL	"Font_B_config", V, 0x1e, S, "_Font_B_config"
	._TYPED	C
	._SYMBOL	"Font_A_config", V, 0x1e, S, "_Font_A_config"
	._TYPED	C
	._SYMBOL	"g_rsPalette_Palette2_Data", V, 0x80000008, S, "_g_rsPalette_Palette2_Data"
	._ARRAY	4, 1, 0, 0
	._TYPED	C
	._SYMBOL	"g_rsPalette_Palette1_Data", V, 0x80000008, S, "_g_rsPalette_Palette1_Data"
	._ARRAY	4, 1, 0, 0
	._TYPED	C
	.end	
